doctype 5
html(lang='en')
 head
  title #{title}
  meta(name='viewport', content='width=device-width, user-scalable=no, initial-scale=1')
  include css/doll.css
  style doll_view { width: 100%; height: 100% }
  -each script in scripts
    script(type='text/javascript', src= '/js/' + script)
 body
  #doll_view
  script(data-main='/js/demo/' + name + '/main.js', src='/js/lib/require.min.js')
